package cn.stylefeng.roses.seata.demo.storage.core;

/**
 * 模拟被冻结的库存数量
 *
 * @author fengshuonan
 * @date 2021/10/13 22:05
 */
public class BlockedStorage {

    private static Integer BLOCKED_STORAGE = 0;

    public static void set(Integer count) {
        BLOCKED_STORAGE = count;
    }

    public static Integer get() {
        return BLOCKED_STORAGE;
    }

}
